Mystery Set Operation

Sets to Test:

Give two sets of integers separated by commas:
*

Outputs:

ABA*B